<?php
/**详细控制器
 * @Author: 976123967@qq.com
 * @Date:   2014-09-07 19:26:35
 * @Last Modified by:   chen
 * @Last Modified time: 2014-09-07 19:37:23
 */
class DetailControl extends CommonControl{



	/**
	 * [index 详细页面]
	 * @return [type] [description]
	 */
	public function index()
	{
		$gid = Q('get.gid',null,'intval');
		$db = K('GoodsView');
		$data =$db->get_goods_one($gid);
		$this->assign('data',$data);
		$this->display();
	}


}